@model IDocument 
<div class="pagination">
  @if(Model.Bool(Keys.HasPreviousPage))
            {
                <a href="@(Context.GetLink(Model.Document(Keys.PreviousPage)))"><span aria-hidden="true">&larr;</span> Newer</a>
            } 

  @if(Model.Bool(Keys.HasNextPage))
            {
                <a href="@(Context.GetLink(Model.Document(Keys.NextPage)))">Older <span aria-hidden="true">&rarr;</span></a>
            }
</div>
